package com.company.LambdaDemo;

public class ObjectResponse<T> extends BaseResponse {

    private static final long serialVersionUID = 1L;
    /**
     * 泛型dto对象
     */
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ObjectResponse [data=" + data + ",status=" + getStatus() + ",message=" + getMessage() + "]";
    }

}
